<template>
	<view class="onlineService">
		<web-view :src='thumb'></web-view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				thumb:'',
			};
		},
		onShow(){
			this.getServiceLink();
		},
		methods:{
			getServiceLink(){
				this.tool.getData('/Index/serviceurl',{
					memberId:uni.getStorageSync('userId')?uni.getStorageSync('userId'):'',
				}).then(res=>{
					console.log(res);
					if(res){
						this.thumb = res.service_url;
					}
				}).catch(err=>{
					console.log(err);
				})
			}
		}
	}
</script>

<style lang="scss">

</style>
